<?php
session_start();
$path=$_SERVER["DOCUMENT_ROOT"]."/Clase/php/FORO/clases/";
include_once  ($path."Categoria.php");
include ($path."Tema.php");
$categoria=new Categoria();
$tema=new Tema();
?>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
       
        <script type="text/javascript" src="./SCRIPTS/javascript.js"></script>
        <script>function goTo(id){window.location="./categoria.php?id="+id;}</script>
        <link href="CSS/styles.css" type="text/css" rel="stylesheet" media="screen">
        <script>
        function goTo(id){window.location="./tema.php?id="+id;}
        </script>
    </head>
    <body>
     <div class="contenedor">
        <?php include ($path."menu.php");?>
        <div class="resultat">
        	<div class="resultatItem" >Tema</div>
        	<div class="resultatItem" style="margin-left:60%;">Usuario</div>
        	<div class="resultatItem" style="margin-left:80%;">Fecha</div>
        </div>
        
    	<?php 
    		echo $tema->printTemes();
    	?>
    	</div>
    </body>
</html>